Disappearing modules + other minor issue jReviews

17 years 2 months ago #202 by Saka
Both are Itemid issues. SEF Advance finds the correct Itemid for you so just make sure you don't have duplicates or trashed menu items according to: www.sakic.net/support/faq/sef_advance/#16

You don't have to worry about adding or appending Itemid in the extension file because Itemid is calculated by SEF Advance instead.

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

17 years 2 months ago #203 by alejo
I don't have duplicate name menus or trashed menus, but I guess the problem is that I do have multiple different name menus that look like this:

index.php?option=com_jreviews&Itemid=x
index.php?option=com_jreviews&Itemid=y
index.php?option=com_jreviews&Itemid=z

It seems SEFAdvance picks up the first Itemid it finds for jreviews and that's why it is adding the wrong one to the pagination and why modules disappear. Is there a solution to this? Each menu has a different functionality depending on the menu parameters chosen.

Thanks for the previous response,

Alejo

jReviews :: Directory / Ratings / Reviews
www.reviewsforjoomla.com

Please Log in or Create an account to join the conversation.

17 years 2 months ago #204 by Saka
That's not standard Joomla! behavior. You should always have only one Itemid for a single component.

You could, however, use alias as workaround.

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

17 years 2 months ago #205 by alejo

That's not standard Joomla! behavior.


What do you mean? It's a lot easier for users to create menus this way than having to look up somewhere that they should create a url menu and put in:

index.php?option=com_jreviews&task=this¶m=that&so=so

I understand the Item ids get messed up with SEFAdvance, but as long as it is possible to retrieve the Itemid it works ok, as is the case with Joomla core sef.

At what point does SEFAdvance append the Itemid? Maybe I can strip it and put in my own? I just want to use this as a work around, but I understand the problem and will try to instruct my users to use the "other" way of creating component menus.

Thanks again,

Alejo

jReviews :: Directory / Ratings / Reviews
www.reviewsforjoomla.com

Please Log in or Create an account to join the conversation.

17 years 2 months ago #206 by alejo
Hi again.

Apart from the following problem everything seems to be working great. I would be nice to solve this because my customers will be happy to be able to use SEF Advance.

So the problem, as stated in my previous posts is disappearing modules or they simply never appear.

If a person wants to have multiple menu links for different jReviews tasks
and for each menu he wants to assign a different module, the modules just don't show. The links need to be created as url menus, per your comment above about using parameters not being a Joomla! standard. This is what the menus look like:

index.php?option=com_jreviews&task=listsection&dir=1§ion=1
index.php?option=com_jreviews&task=listsection&dir=1§ion=2

I am really looking forward to figuring this out. The FAQ about pathway, etc. is fine and I understand what needs to be done for core Joomla content, but what about 3rd party components?

Thanks,

Alejo

jReviews :: Directory / Ratings / Reviews
www.reviewsforjoomla.com

Please Log in or Create an account to join the conversation.

17 years 2 months ago #208 by Saka
alejo: a single component is suposed to have only one menu link and only one Itemid, not multiple Itemids.
What you do (artificially attaching Itemids) is not standard Joomla behavior. While it may work when SEF is off (because you can simply add it to URL) it is not supported by SEF Advance (because you don't pass Itemids in URLs but SEF Advance calculates it instead).

I will see if there could be some workaround used in the extension file but can't do it immediately as I am not at the office. I will get back to the topic in regular working hours.

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

About us

We provide high quality Joomla components created by a co-founder and original core developer of Joomla. For over a decade, our products have been used by more than 20.000 webmasters around the world.

Stay in touch